﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using System.Data.SqlClient;

namespace TCCT_CTC_CSDLDangVienV1
{
    public partial class frmThongBao : frmBase
    {
        public frmThongBao()
        {
            InitializeComponent();
        }

        private static frmThongBao _instance = null;

        public static frmThongBao Instance
        {
            get
            {
                if (_instance == null || _instance.IsDisposed)
                    _instance = new frmThongBao();
                return _instance;
            }
            set { _instance = value; }
        }


        private void frmThongBao_Load(object sender, EventArgs e)
        {
            try
            {
                ApplyUI();
                frmThongBao.Instance = this;
            }
            catch (Exception _ex)
            {
                ShowErrorMessage(_ex);
            }
        }
        private void ApplyUI()
        {

        }



        private void timer1_Tick(object sender, EventArgs e)
        {
            timer1.Enabled = false;
            this.Hide();
        }

        private void txtNoiDung_Click(object sender, EventArgs e)
        {
            timer1.Enabled = false;
        }





    }
}